import request from "@/utils/request";
interface approveListGet {
    req: {
        page:PageParam,
        username:string
    }
    resp: {
        total: number,
        list: ApproveDetail[]
    }
}
export const getApproveList = (req: approveListGet['req']): Promise<approveListGet['resp']> => {
    return request.get('/approve/list/detail', {
        params: req
    })
}